#ifndef LOGINWINDOW_H
#define LOGINWINDOW_H

#include <QWidget>
#include <QLineEdit>
#include <QPushButton>
#include <QLabel>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include "sqlhelper.h"
#include "messagebox.h"
#include "adminwindow.h"
#include "checkinwindow.h"
#include "user.h"

class LoginWindow : public QWidget
{
    Q_OBJECT
public:
    LoginWindow(QWidget *parent = nullptr);

private:
    void showCentered();

private slots:
    void onLoginButtonClicked();
    void onRegistButtonClicked();

private:
    QLineEdit *_usernameLineEdit;
    QLineEdit *_passwordLineEdit;
};


#endif // LOGINWINDOW_H
